package com.dd.shop4j.goods.enums;

import com.dd.shop4j.common.utils.enums.IEnum;

/**
 * 商品状态
 * @author Administrator
 *
 */
public enum GoodStatus implements IEnum {

	DEFAULT("1", "正常"),
	DOWN("2", "下架"),
	DELETE("0", "回收站")
	;
	
	private GoodStatus(String code, String text) {
		this.code = code;
		this.text = text;
	}
	
	private String code;
	private String text;
	
	@Override
	public String getCode() {
		return code;
	}
	
	@Override
	public String getText() {
		return text;
	}

}
